﻿// imports
@import "Variables";
// imports

/*	Global classes	*/
BODY
{
	font: $main-font;
}

.DDMainHeader
{
	font: $heading-font;
	color: $font-color;
	padding-bottom: 12px;
	//border-bottom: 1px dotted #bbbbbb;
}

H2.DDSubHeader
{
	//margin: 0;
	margin-bottom: 10px;
	font: $subHeading-font;
	color: $font-color;
}

H3.DDSubHeader
{
	//margin: 0;
	margin-bottom: 10px;
	color: $font-color;
	display: block;
}

DIV #ContentPlaceHolder1_UpdatePanel1
{
	margin: 0;
	padding: 0;
}

.DD
{
	padding: 0px 8px;
	font: 10pt $font-famliy;
	color: $main-fore-color;
}

.CheckBoxes
{
	padding: 0;
	padding-top: 10px;
	color: $main-fore-color;
	white-space: normal;
	display: inline-block;
}

.DDCheckBoxes INPUT[type="checkbox"]
{
	padding: 0;
}

.DDCheckBoxes LABEL
{
	padding-left: 4px;
	padding-right: 8px;
}

.DDTextBox,
.DDDropDown
{
	color: $main-fore-color;
	font: .95em $font-famliy;
	border: solid 1px #dcdcdc;
	background-color: #FEFEFE;
}

.DDDropDown
{
	padding: 2px;
}

.DDFilter
{
	font: .95em $font-famliy;
	color: $main-fore-color;
}

SPAN.filter
{
	display: inline-block;
	margin: 0 !important;
	padding: 0 !important;
	margin-bottom: 4px !important;
}

.DDControl
{
	padding: 1px 4px;
	line-height: normal;
}

.DDButton
{
	padding: 1px 2px;
	font: .95em $font-famliy;
	color: $main-fore-color;
}

.DDFloatLeft
{
	float: left;
}

.DDFloatRight
{
	float: right;
}

.DDSelected
{
	background-color: #FDFFB8;
}

div.DDNoItem
{
	color: Red;
	font-family: $font-famliy;
}

.DDValidator
{
	color: Red;
	font-family: $font-famliy;
}


/*	Navigation	*/

div.DDNavigation
{
	font: .75em $font-famliy;
	position: relative;
	top: -28px;
	margin-bottom: -10px;
	padding: 0px 5px;
}

div.DDNavigation img
{
	position: relative;
	margin-top: 0em;
	padding: 0px 8px;
	border: none;
	background-color: #fff;
}

div.DDNavigation a
{
	color: $hyperlink-color;
	text-decoration: none;
	background-color: #fff;
	padding-right: 8px;
	top: -.2em;
	left: .25em;
}

div.DDNavigation a:hover
{
	color: $hyperlink-hover-color;
	text-decoration: underline !important;
}

a.DDNavigation 
{
	color: $hyperlink-color;
	text-decoration: none;
	padding-left: 6px;
}

a:hover.DDNavigation 
{
	color: $hyperlink-hover-color;
	text-decoration: underline !important;
}

/*	Details VIEW/EDIT	*/
/* Make sure buttons do not wrap */
.nowrap
{
	//white-space: nowrap;
	width: 1%;
}

.wrapon
{
	white-space: pre-wrap;
	width: 1%;
}


table.DDDetailsTable,
table.DDGridView,
table.DDListView
{
	font-size: 10pt !important;
}

table.DDDetailsTable
{
	color: $main-fore-color;
	background-color: fade_out(White, .6);
	border: 1px solid $table-border-color;
	border-bottom-width: 3px;
	/*table-layout: fixed;*/
}

table.DDDetailsTable a
{
	color: $hyperlink-color;
	text-decoration: none;
	padding-right: 6px;
}

table.DDDetailsTable a:hover
{
	color: $hyperlink-hover-color;
	/*text-decoration: underline !important;*/
}

table.DDDetailsTable .td
{
	padding: 6px;
	//border: 1px solid $table-border-color;
	//border-bottom-style: dotted;
	font-family: $font-famliy;
}
table.DDDetailsTable td
{
	border: 1px dotted lighten($table-header-background-color, 30%);
	padding: 6px;
}

table.DDDetailsTable TD.DDLightHeader
{
	font-weight: bold;
	font-size: 1.1em;
	background-color: $table-header-background-color !important;
	color: $table-header-fore-color;
	vertical-align: top;
}

table.DDDetailsTable TD.DDLightHeader LABEL
{
	text-align: right;
}

table.DDDetailsTable td.DDLightHeader
{
	line-height: 1em !important;
	text-align: left !important;
	font-size: 1em !important;
	//white-space: nowrap;
	padding: 6px;
}

table.DDGridView .th TH,  
table.DDListView .th TH, 
table.DDGridView .td TD,  
table.DDListView .td TD 
{ 
	border-right: 1px solid $table-border-color; 
}

/*	DDGridView/DDListView	*/
table.DDGridView,
table.DDListView
{
	border-collapse: collapse;
	width: 100%;
	color: $main-fore-color;
	border: solid 1px $table-border-color;
	//font: $font-famliy !important;
	/*table-layout: fixed;*/
	.DDFooter {
		background-color: $table-footer-background-color;
		color: $table-footer-fore-color;
		/*	DataPager	*/
		div.DDPager {
			padding: 0px 6px;
			.DDFloatLeft {
				float: left;
				INPUT[type="image"] {
					margin-bottom: -4px;
				}
				INPUT[type="text"] {
					margin-top: 1px;
				}
			}
			.DDFloatRight {
				float: right;
			}
		}
	}
}

table.DDGridView .th,
table.DDListView .th
{
	background: $table-header-background-color repeat-x;
	color: $table-header-fore-color;
	line-height: 1em !important;
	text-align: left !important;
	font-size: 1.1em !important;
	font-weight: bold;
	border: solid 1px $table-border-color;
}

table.DDGridView .dxtlHeader 
{
	//font-family: $font-famliy !important;
	font-size: 12pt !important;
	font-weight: bold !important;
}

table.DDGridView .dxtlHeader,
table.DDGridView .th a,
table.DDListView .th a
{
	color: $table-header-fore-color;
	text-decoration: none;
}

table.DDGridView .td,
table.DDListView .td
{
	border: solid 1px $table-border-color;
	border-left-width: 0px;
	border-right-width: 0px;
	padding: 6px;
}

table.DDGridView .td a,
table.DDListView .td a
{
	color: $hyperlink-color;
	text-decoration: none;
	/*margin-right: 6px;*/
}

table.DDGridView .DDSelected a,
table.DDListView .DDSelected a
{
	color: $hyperlink-color;
	text-decoration: none;
	/*margin-right: 6px;*/
}

table.DDGridView .DDSelected a:hover,
table.DDListView .DDSelected a:hover
{
	color: $hyperlink-hover-color;
	/*text-decoration: underline;*/
}

table.DDGridView .td a:hover,
table.DDListView .td a:hover
{
	color: $hyperlink-hover-color;
	text-decoration: underline;
}

/*	DataPager	*/
div.DDPager
{
	padding: 0px 6px;
}

/* Bottom hyperlink design*/
div.DDBottomHyperLink
{
	font: .75em $font-famliy;
}
div.DDBottomHyperLink a
{
	color: $hyperlink-color;
	text-decoration: none;
}
div.DDBottomHyperLink a:hover
{
	color: $hyperlink-hover-color;
	text-decoration: underline !important;
}
div.DDBottomHyperLink img
{
	padding-right: 5px;
	border: none;
}
/* Bottom hyperlink design*/

/* misc */
span.allcaps
{
	font-variant: small-caps;
}

.DDRequired
{
	background-color: $required-background-color;
}
/* misc */

/* field set */

FIELDSET.DD
{
	border-radius: 6px;
}

FIELDSET
{
	padding: 0 6px 0 6px !important;
	margin: 0;
	LEGEND
	{
		color: $main-fore-color;
	}
}

FIELDSET.login
{
	border-style: ridge;
	background-color: #F7F7F7  !important;
}

a IMG
{
	border-collapse: collapse;
	border: none;
}

TH.ShowAllHeader,
TH.InsertHeader,
TH.PaddingHeader,
TH.RefreshHeader
{
	font-weight: bold;
	padding: 4px;
}

TH.InsertHeader IMG,
TH.PaddingHeader IMG,
TH.RefreshHeader IMG
{
	display: inline-block;
	vertical-align: bottom;
}

TH.InsertHeader
{
	text-align: left !important;
	border-right: none !important;
}

TH.PaddingHeader
{
	border-left: none !important;
	border-right: none !important;
}

TH.ShowAllHeader,
TH.RefreshHeader
{
	border-left: none !important;
	text-align: right !important;
}

.TableHeadderText
{
	font-weight: bold;
	position: relative;
	display: inline-block;
	padding: 0 0 0.1em 0 !important;
}

a.TableHeadderText:hover
{
	/*text-decoration: underline !important;*/
	/*color: #37AE64 !important;*/
	color: $hyperlink-hover-color !important;
}

.Print
{
	font: 1.2em $font-famliy;
	color: $main-fore-color;
}

DIV.PrintHeader
{
	//background: url($table-header-background) repeat-x;
	text-align: center; 
	padding: 8px;
}

SPAN.PrintMessage
{
	position: relative;
	display: inline-block;
}

TD.commandColumn
{
	width: 40px;
}

.ajax__tab_xp .ajax__tab_body
{
	padding: 3px !important;
}

.ajax__tab_xp .ajax__scroll_none
{
	overflow: auto;
}

.dxtcControl
{
	overflow: auto;
	width: 100%;
	max-width: 100%;
}

.disabled
{
	background-color: $diabled-background-color;
	border-color: $diabled-border-color;
}

/* link fix */
a.aspNetDisabled,
a.aspNetDisabled:hover
{
	text-decoration: none !important;
	color: $main-fore-color !important;
}
/* link fix */

.DDNumber
{
	text-align: right;
}

SPAN.RightAlign
{
	display: inline-block;
	padding-top: 4px;
}

SPAN.SpanBox
{
	display: inline-block; 
	border: 1px dotted grey; 
	padding: 2px 4px; 
	border-radius: 4px;
}

FIELDSET a
{
	color: $hyperlink-color;
	text-align: right;
	text-decoration: none !important;
}

a:hover
{
	color: $hyperlink-hover-color;
	text-decoration: underline !important;
}

#Filters,
#MultiSearch,
#Accounts
{
	margin-bottom: 8px;
}

#tabContainer
{
	margin-top: 8px;
}

.center
{
	text-align: center;
}

.left
{
	text-align: left;
}

.right
{
	text-align: right;
}

.justify
{
	text-align: justify
}

.padded
{
	padding: 4px;
}

#ShowRecordLibraryTable
{
	margin-top: 8px !important;
}

.Message
{
	color: #009900;
}

.PasswordExpires
{
	color: #FFCC00 !important;
}

/* Progress indicator */
DIV.MainProgress
{
	/*this is what we want the div to look like*/  
	display:block;    
	/*set the div in the top-left corner of the screen*/    
	position:absolute;    
	top:0;    
	left:0;        
	/*set the width and height to 100% of the screen*/    
	width:100%;    
	height:100%;
	background-color: #FFFFFF; 
	z-index: 2000;
}
/* Progress indicator */

#tabContainer a
{
	text-decoration: none !important;
}

TABLE.DDGridView td.dxtl__I8 {
	width: 2% !important;
}


/*.MultiColumnForm */
.MultiColumnForm
{
	width: 100%;
	font-family: Arial;
	font-size: 10pt;
	margin-top: 10px;
	width: 100% !important;
	text-align: left;
	border-collapse: collapse;
	border: solid 1px Black;
	padding: 2px;
	TR.headerRow
	{
		background-color: $main-color !important;
		color: $table-header-fore-color !important;
	}
	TD
	{
		border-bottom: solid 1px $main-color !important;
		border-right: solid 1px $main-color !important;
	}
	TD.EmptyCell
	{
		border: none !important;
	}
	TR.headerRow TD
	{
		font-size: 0.8em !important;
		font-weight: bold;
		background-color:  $main-color;
		padding: 2px !important;
	}
	.headerRow>TD
	{
		border-right: solid 1px $main-color !important;
		border-bottom: none !important;
		padding: 4px 4px 0 4px;
		font-size: 8pt;
	}

	.inputRow>TD
	{
		font-weight: normal;
		font-size: 10pt; 
		border: none;
		border-bottom: solid 1px $main-color !important;
		border-right: solid 1px $main-color !important;
		padding: 4px;
		vertical-align: top;
	}

	.Left>TD
	{
		text-align: left !important;
	}

	.Center>TD
	{
		text-align: center !important;
	}

	.commandButton>TD
	{
		font-size: 10pt;
	}
}

/*.MultiColumnForm */